package com.hgd.security.evp.biz.entity;

import java.io.Serializable;
import java.util.Date;
import javax.persistence.*;


/**
 * 
 * 
 * @author By Shang
 * @email ${email}
 * @version 2019-04-07 23:27:34
 */
@Table(name = "net_log")
public class NetLog implements Serializable {
	private static final long serialVersionUID = 1L;
	
	    //
    @Id
    private Integer id;
	
	    //请求地址
    @Column(name = "request_url")
    private String requestUrl;

    @Column(name = "remote_url")
    private String remoteUrl;

    @Column(name = "remote_host")
    private String remoteHost;

    @Column(name = "remote_user")
    private String remoteUser;

	    //请求地址远程端口
    @Column(name = "remote_port")
    private Integer remotePort;
	
	    //请求服务器端口
    @Column(name = "server_port")
    private Integer serverPort;
	
	    //请求本地端口
    @Column(name = "local_port")
    private Integer localPort;
	
	    //请求时间
    @Column(name = "access_time")
    private Date accessTime;
	
	    //
    @Column(name = "crt_user_id")
    private Integer crtUserId;
	
	    //
    @Column(name = "crt_user_name")
    private String crtUserName;
	
	    //
    @Column(name = "crt_time")
    private Date crtTime;
	

	/**
	 * 设置：
	 */
	public void setId(Integer id) {
		this.id = id;
	}
	/**
	 * 获取：
	 */
	public Integer getId() {
		return id;
	}
	/**
	 * 设置：请求地址
	 */
	public void setRequestUrl(String requestUrl) {
		this.requestUrl = requestUrl;
	}
	/**
	 * 获取：请求地址
	 */
	public String getRequestUrl() {
		return requestUrl;
	}
	/**
	 * 设置：请求地址远程端口
	 */
	public void setRemotePort(Integer remotePort) {
		this.remotePort = remotePort;
	}
	/**
	 * 获取：请求地址远程端口
	 */
	public Integer getRemotePort() {
		return remotePort;
	}
	/**
	 * 设置：请求服务器端口
	 */
	public void setServerPort(Integer serverPort) {
		this.serverPort = serverPort;
	}
	/**
	 * 获取：请求服务器端口
	 */
	public Integer getServerPort() {
		return serverPort;
	}
	/**
	 * 设置：请求本地端口
	 */
	public void setLocalPort(Integer localPort) {
		this.localPort = localPort;
	}
	/**
	 * 获取：请求本地端口
	 */
	public Integer getLocalPort() {
		return localPort;
	}
	/**
	 * 设置：请求时间
	 */
	public void setAccessTime(Date accessTime) {
		this.accessTime = accessTime;
	}
	/**
	 * 获取：请求时间
	 */
	public Date getAccessTime() {
		return accessTime;
	}
	/**
	 * 设置：
	 */
	public void setCrtUserId(Integer crtUserId) {
		this.crtUserId = crtUserId;
	}
	/**
	 * 获取：
	 */
	public Integer getCrtUserId() {
		return crtUserId;
	}
	/**
	 * 设置：
	 */
	public void setCrtUserName(String crtUserName) {
		this.crtUserName = crtUserName;
	}
	/**
	 * 获取：
	 */
	public String getCrtUserName() {
		return crtUserName;
	}
	/**
	 * 设置：
	 */
	public void setCrtTime(Date crtTime) {
		this.crtTime = crtTime;
	}

	public NetLog() {
	}

	public NetLog(String requestUrl, String remoteUrl, String remoteHost, String remoteUser, Integer remotePort,
		Integer serverPort, Integer localPort, Date accessTime) {
		this.requestUrl = requestUrl;
		this.remoteUrl = remoteUrl;
		this.remoteHost = remoteHost;
		this.remoteUser = remoteUser;
		this.remotePort = remotePort;
		this.serverPort = serverPort;
		this.localPort = localPort;
		this.accessTime = accessTime;
	}

	/**
	 * 获取：
	 */
	public Date getCrtTime() {
		return crtTime;
	}

	public String getRemoteUrl() {
		return remoteUrl;
	}

	public void setRemoteUrl(String remoteUrl) {
		this.remoteUrl = remoteUrl;
	}

	public String getRemoteHost() {
		return remoteHost;
	}

	public void setRemoteHost(String remoteHost) {
		this.remoteHost = remoteHost;
	}

	public String getRemoteUser() {
		return remoteUser;
	}

	public void setRemoteUser(String remoteUser) {
		this.remoteUser = remoteUser;
	}
}
